package com.pg.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单临时存储
 * </p>
 *
 * @author likl
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eip_temp")
public class EipTemp implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 全库唯一码
     */
    @TableId
    private String puid;

    /**
     * 编辑人员
     */
    @TableField("\"modUser\"")
    private String modUser;

    /**
     * 编辑时间
     */
    @TableField("\"modTime\"")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modTime;

    /**
     * 数据类型
     */
    @TableField("\"dataType\"")
    private String dataType;

    /**
     * 链接PUID
     */
    @TableField("\"linkPUID\"")
    private String linkPUID;

    /**
     * 详细信息
     */
    @TableField("\"detailedInformation\"")
    private String detailedInformation;

}